import React, { Component } from 'react'
import ShopHeader from './compoments/header'
import Swiper from './compoments/swiper'
import AdList from './compoments/adList'
import LoadMore from '../../../common/loadMore'//antd的下拉加载
// import LoadMore from './loadMore'//手写的下拉加载
import Sticky from '../../../common/Sticky';
import { getshoplikeList } from "../../../apis/shop";
import AdListUl from "./compoments/likeListUl";
class LoginForm extends Component {
    render() {
        return (
            <Sticky header={<ShopHeader />}>
                {(state) => {
                    return <>
                        <Swiper {...this.props} />
                        <AdList {...this.props} />
                        <LoadMore config={{header:"猜你喜欢"}} {...this.props} ShowListUl={AdListUl} httpDatas={getshoplikeList} />
                    </>
                }}
            </Sticky>
        )
    }
}
export default LoginForm
